*Constructs figure showing financial repression leads to deposit expansion rather than loans crowding out
*Figure 5 in "From Fiscal Deadlock to Financial Repression"
*O. Jeanne, 11/2024, edited 12/2025


clear

use "ASBSnorm.dta"

local vars d ell m ab
foreach var of local vars{
		gen D`var'=`var'-`var'[_n-10]
}

local dmin=110

twoway (scatter Dell Dd if d>`dmin') (lfit Dell Dd if d>`dmin'), saving(graphell, replace)
twoway (scatter Dm Dell if d>`dmin', mlabel(ISO)) (lfit Dm Dell if d>`dmin'), saving(graphm, replace)
twoway (scatter Dab Dell if d>`dmin', mlabel(ISO)) (lfit Dab Dell if d>`dmin'), saving(graphab, replace)

gr combine graphm.gph graphab.gph, saving(Fig_depexpans, replace)